const { defineConfig } = require('@vue/cli-service')
const { VantResolver } = require('unplugin-vue-components/resolvers');
const ComponentsPlugin = require('unplugin-vue-components/webpack');

module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
    proxy:'http://localhost:3000'
  },
  configureWebpack:{
    plugins:[
      ComponentsPlugin({
        resolvers:[VantResolver()]
      })
    ]
  }
})
